import { createApp } from "vue";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "element-plus/dist/index.css";


import router from "./router";
import store from "./store";
import App from "./App.vue";
import "./global.scss";

const app = createApp(App);
// console.log("ElementPlusIconsVue", ElementPlusIconsVue);
// console.log(Object.entries(ElementPlusIconsVue));

// 将 icon 图标组件全部都被注册
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.use(ElementPlus).use(router).use(store);
app.mount("#app");

